package model;

public class Interval {
	private String leaveTime,HomeTime;
	public Interval(String leave,String home)
	{
		leaveTime=leave;
		HomeTime=home;
	}
	public String getLeaveTime() {
		return leaveTime;
	}
	public void setLeaveTime(String leaveTime) {
		this.leaveTime = leaveTime;
	}
	public String getHomeTime() {
		return HomeTime;
	}
	public void setHomeTime(String homeTime) {
		HomeTime = homeTime;
	}
	
	public String toString()
	{
		return " Leave time: "+leaveTime +" Home time: "+HomeTime;
	}
}
